//package com.link.dao;

//import com.link.dao.AccountDAO;
//import org.springframework.jdbc.core.support.JdbcDaoSupport;
//import org.springframework.stereotype.Repository;

/**
 * Created by wangyg 
 * on 2017/2/21 20:56
 */
//@Repository
//public class AccountDAOImpl extends JdbcDaoSupport implements AccountDAO {
//
//	@Override
//	public void outMoney(String out, Double value) {
//		String sql = "update account set money=money-? where account_id=?";
//		this.getJdbcTemplate().update(sql, value, out);
//	}
//
//	@Override
//	public void inMoney(String in, Double value) {
//		String sql = "update account set money =money+? where account_id=?";
//		this.getJdbcTemplate().update(sql, value, in);
//	}
//}
